/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.cezary.butler.walili.server;

/**
 *
 * @author Cezary Butler
 */
public class UserTask {
    private UserId user;
    private ServerTask zadanie;
    
    public UserTask(UserId user, ServerTask zadanie){
        setUser(user);
        setZadanie(zadanie);
    }
    
    public UserId getUser(){
        return user;
    }
    
    public ServerTask getZadanie(){
        return zadanie;
    }
    
    private void setZadanie(ServerTask zad){
        this.zadanie = zad;
    }
    
    private void setUser(UserId user){
        this.user = user;
    }
}
